faster sleep_ms() and no overrun