Set more appropriate error message for operations on closed socket
Developer release