Python Check Subprocess Is Running