with 1 ms sleep