Make sure your skimmer valves are closed first, otherwise you will indeed be sucking air as well as water from the main drain, which will cause you to loose your prime.