fix test_zero_timeout on windows by introducing sleep, windows time() function has less precision than linux