Add logging for disconnects