https://travis-ci.org/github/MarcoFalke/btc_nightly/jobs/680655419#L412
{
    auto it = mapCommands.find(name);
    if (it != mapCommands.end()) {
        auto new_end = std::remove(it->second.begin(), it->second.end(), pcmd);
        if (it->second.end() != new_end) {
            it->second.erase(new_end, it->second.end());
            return true;
        }
    }
    return false;
}
void StartRPC()
{
    LogPrint(BCLog::RPC, "Starting RPC\n");
    g_rpc_running = true;
    g_rpcSignals.Started();
}
void InterruptRPC()
{
    LogPrint(BCLog::RPC, "Interrupting RPC\n");
    
    g_rpc_running = false;
}
void StopRPC()