Fixed test for windows os with longer sleep times