updating requirements and only calling reactor.stop() if the reactor is actually running