During an attempt at a graceful shutdown, SumoLogicMessageSender has been disposed which sets the HttpClient to null but one last log is attempted and throws a NullReferenceException when calling CanTrySend due to checking the ConnectionTimeout on HttpClient but HttpClient is already disposed and null.
During an attempt at a graceful shutdown, SumoLogicMessageSender has been disposed which sets the HttpClient to null but one last log is attempted and throws a NullReferenceException when calling CanTrySend due to checking the ConnectionTimeout on HttpClient but HttpClient is already disposed and null.