with flat tanks you tend to get more airlocks due to lack of gravity
It may be better to get your pump as low as as possible
i cant see how a shut off valve will help, what may help if you have some copper piping in the system, ie from the tank to the pump is place a air valve, the type you see in plumbing, a quick twist and the air escapes