Connections and disconnections between client and server are functioning