Clean eventlet related code