Added in some sleep timers to help improve overall cpu usage