Fixed the increasing rescheduling delay and added some debug logging