Started impl
Done but won't work with gevent in test