How to regulate an air compressor