Safeties for proper operation of air compressor