implement rtb_event_loop_run()