In a similar fashion to SERVER-57466, an error caused by a connection reset while attempting to setSocketOption inside AsioSession::ensureSync() can cause a tassert.
The solution to this ticket should be the same as what ends up being committed in SERVER-57466.
- depends on
- 
                    SERVER-57466 Swallow connection reset-related errors received during ASIO session establishment -         
- Closed
 
-