Use gevent.sleep instead of time.sleep

Use gevent.sleep instead of time.sleep to prevent blocking (just to educate the users not to use sleep):

http://stackoverflow.com/questions/12040880/how-to-avoid-blocking-code-in-python-with-gevent