added reseting run_loop flag