trick.real_time_enable() trick.exec_set_terminate_time(5.0)