[PATCH v2 4/4] NetTestSlave: check if command finished before killing