test: Avoid ConnectionResetErrors during RPC tests
test: Avoid ConnectionResetErrors during RPC tests

This is necessary on FreeBSD and MacOSX, at least.

See https://github.com/bitcoin/bitcoin/pull/8834#issuecomment-250450213

Github-Pull: #8839
Rebased-From: 1d28faf9e94fcf240ece7336d61ec297b064bc37

jl2012/litecoin,experiencecoin/experiencecoin,shaolinfry/litecoin,ShadowMyst/creativechain-core,cannabiscoindev/cannabiscoin420,gjhiggins/vcoincore,magacoin/magacoin,gravio-net/graviocoin,zetacoin/zetacoin,okinc/bitcoin,OmniLayer/omnicore,metacoin/florincoin,HashUnlimited/Einsteinium-Unlimited,lbrtcoin/albertcoin,Electronic-Gulden-Foundation/egulden,OmniLayer/omnicore,Electronic-Gulden-Foundation/egulden,zcoinofficial/zcoin,gravio-net/graviocoin,HashUnlimited/Einsteinium-Unlimited,bdelzell/creditcoin-org-creditcoin,Electronic-Gulden-Foundation/egulden,okinc/bitcoin,lbrtcoin/albertcoin,gravio-net/graviocoin,cannabiscoindev/cannabiscoin420,oklink-dev/bitcoin,reorder/viacoin,lbrtcoin/albertcoin,ShadowMyst/creativechain-core,zcoinofficial/zcoin,martindale/elements,lbrtcoin/albertcoin,gjhiggins/vcoincore,okinc/bitcoin,zcoinofficial/zcoin,okinc/bitcoin,metacoin/florincoin,zetacoin/zetacoin,metacoin/florincoin,lbrtcoin/albertcoin,oklink-dev/bitcoin,emc2foundation/einsteinium,cannabiscoindev/cannabiscoin420,shaolinfry/litecoin,EntropyFactory/creativechain-core,emc2foundation/einsteinium,EntropyFactory/creativechain-core,HashUnlimited/Einsteinium-Unlimited,bdelzell/creditcoin-org-creditcoin,funkshelper/woodcore,lbrtcoin/albertcoin,litecoin-project/litecore-litecoin,oklink-dev/bitcoin,OmniLayer/omnicore,cannabiscoindev/cannabiscoin420,emc2foundation/einsteinium,bitcoinplusorg/xbcwalletsource,shaolinfry/litecoin,reorder/viacoin,bitcoinplusorg/xbcwalletsource,zcoinofficial/zcoin,magacoin/magacoin,EntropyFactory/creativechain-core,gravio-net/graviocoin,zetacoin/zetacoin,metacoin/florincoin,bdelzell/creditcoin-org-creditcoin,litecoin-project/litecore-litecoin,gravio-net/graviocoin,experiencecoin/experiencecoin,emc2foundation/einsteinium,martindale/elements,cannabiscoindev/cannabiscoin420,ShadowMyst/creativechain-core,magacoin/magacoin,litecoin-project/litecore-litecoin,shaolinfry/litecoin,zcoinofficial/zcoin,lbrtcoin/albertcoin,HashUnlimited/Einsteinium-Unlimited,okinc/bitcoin,HashUnlimited/Einsteinium-Unlimited,EntropyFactory/creativechain-core,litecoin-project/litecore-litecoin,gjhiggins/vcoincore,experiencecoin/experiencecoin,emc2foundation/einsteinium,itmanagerro/tresting,oklink-dev/bitcoin,oklink-dev/bitcoin,jl2012/litecoin,reorder/viacoin,funkshelper/woodcore,ShadowMyst/creativechain-core,Electronic-Gulden-Foundation/egulden,itmanagerro/tresting,litecoin-project/litecore-litecoin,jl2012/litecoin,zetacoin/zetacoin,martindale/elements,experiencecoin/experiencecoin,shaolinfry/litecoin,OmniLayer/omnicore,cannabiscoindev/cannabiscoin420,martindale/elements,EntropyFactory/creativechain-core,ShadowMyst/creativechain-core,gjhiggins/vcoincore,funkshelper/woodcore,bitcoinplusorg/xbcwalletsource,oklink-dev/bitcoin,HashUnlimited/Einsteinium-Unlimited,litecoin-project/litecore-litecoin,EntropyFactory/creativechain-core,metacoin/florincoin,bdelzell/creditcoin-org-creditcoin,funkshelper/woodcore,zcoinofficial/zcoin,gravio-net/graviocoin,zcoinofficial/zcoin,bitcoinplusorg/xbcwalletsource,gjhiggins/vcoincore,zetacoin/zetacoin,okinc/bitcoin,experiencecoin/experiencecoin,zetacoin/zetacoin,bdelzell/creditcoin-org-creditcoin,jl2012/litecoin,shaolinfry/litecoin,lbrtcoin/albertcoin,magacoin/magacoin,experiencecoin/experiencecoin,funkshelper/woodcore,OmniLayer/omnicore,itmanagerro/tresting,bitcoinplusorg/xbcwalletsource,lbrtcoin/albertcoin,zcoinofficial/zcoin,lbrtcoin/albertcoin,zcoinofficial/zcoin,magacoin/magacoin,ShadowMyst/creativechain-core,itmanagerro/tresting,bdelzell/creditcoin-org-creditcoin,martindale/elements,reorder/viacoin,lbrtcoin/albertcoin,bitcoinplusorg/xbcwalletsource,reorder/viacoin,jl2012/litecoin,Electronic-Gulden-Foundation/egulden,itmanagerro/tresting,jl2012/litecoin,Electronic-Gulden-Foundation/egulden,reorder/viacoin,metacoin/florincoin,itmanagerro/tresting,martindale/elements,lbrtcoin/albertcoin,magacoin/magacoin,gjhiggins/vcoincore,emc2foundation/einsteinium,OmniLayer/omnicore,zcoinofficial/zcoin