flake8
cleanup
revert cleanup
wait for http server to be started before returning from ctor