update the sleep time of the func waitfor.

When I use the sharding/simple-setup.py file,it always say:failed to start.
But when I change the sleep time from 0.25 to 5,It works!