Fixed race condition in Command::CallbackExecFinished()