Made gevent happy with PyQt.