Save sessions after removing disconnected socket.