remove unnecessary reactor.stop()
clean up logging