Compressor discharge tube thermostat used in refrigeration systems