### Describe the issue

bitcoin-qt: Debug pop-up window, Peers tab, right-click ban node for 1 hour, day, week, year does nothing. Disconnect node still works.
### Is the issue reproducible?

Yes.
#### List steps to reproduce below:
1. build master branch after commit https://github.com/bitcoin/bitcoin/commit/6423116741de2144872389cf63a621539ae79aaa
2. launch bitcoin-qt (on testnet is advisable)
3. test ban node list right-click functionality on Menu->Help->Debug pop-up window, Peers tab.

if (!AttemptToEvictConnection()) {
            
            LogPrint("net", "failed to find an eviction candidate - connection dropped (full)\n");
            CloseSocket(hSocket);
            return;
        }
    }
    CNode* pnode = new CNode(GetNewNodeId(), nLocalServices, GetBestHeight(), hSocket, addr, CalculateKeyedNetGroup(addr), "", true);
    GetNodeSignals().InitializeNode(pnode->GetId(), pnode);
    pnode->AddRef();
    pnode->fWhitelisted = whitelisted;
    LogPrint("net", "connection from %s accepted\n", addr.ToString());
    {
        LOCK(cs_vNodes);
        vNodes.push_back(pnode);
    }
}
void CConnman::ThreadSocketHandler()
{
    unsigned int nPrevNodeCount = 0;
    while (true)
    {
        
        
        
        {
            LOCK(cs_vNodes);
            
            std::vector<CNode*> vNodesCopy = vNodes;
            BOOST_FOREACH(CNode* pnode, vNodesCopy)