Fix another deadlock in ApiClient::SendMessage

refs #6368