Also, when you say "compressor runs until safety valve goes off", are you saying the compressor stops at that point? Or it keeps running beyond that point?
In either case, as others have said, you want the shut-off switch to be somewhat lower than the tank pressure and safety valve. The...