python: run a process and kill it if it doesn't end within one hour,time.sleep(interval)