code: def reset(self):
          
          with self.unlock_cond:
              for owner in self.owner2account:
                  self.release_accounts(owner)
              self._remove_account(self.accounts.copy())
              self.unlock_cond.notify_all()
docs: Removes all accounts.