Use milliseconds in wait.