Close socket without shutdown