How to call a system command with specified time limit in Python?,self.process.terminate()