Following along with http://sdiehl.github.io/gevent-tutorial/