[core] fixed gevent Event warnings