Close socket on send timeout