Python Subprocess Check If Process Is Running