Avoid DeprecationWarning with Gevent 1.0rc2 and later. PYTHON-545