Close sockets from server connections.