fix issue with runner.stop()