gevent serve_forever now accepts main event for control