Corrected the session count when dropping connections.