check if command is still running