windows: Provide a cancellable usleep(), but with ms resolution only