Python Subprocess Keep Open And Send Commands