'Cleanly disconnect all of the connected sessions.
Args:
reason (str, optional): The reason for the disconnection.'

def disconnect_all_sessions(self, reason='You    have    been    disconnected.'):

    for session in self:
        del session
    self.server.amp_protocol.send_AdminServer2Portal(DUMMYSESSION, operation=SDISCONNALL, reason=reason)
