looks like there is a problem with libevent/gevent that i will have to sort out