always close sockets