- added functionality to remove deauthorized agents (that are also disconnected)