timer_sleep() fixed