catch gevent.monkey.patch_all failed.