removing pycmd_wait