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