What feature do you want to see added?
Require to log error message and stack trace when we get exception while closing the socket.

Upstream changes
No response
Are you interested in contributing this feature?
Yes. Will make the changes and raise PR.