Use reactor.seconds instead of time.time