Improved Cleanup

clear the sensor settings at the end.