Changed timer_sleep to produce old interrupt level.