Python Subprocess Run With Endurance