block thread in timer_sleep