Added python methods and wrappers for get/set max_runtime and get/set stop_long_running