close stratum connection if get_work fails to let miner know something is wrong instead of just stringing them along
check if bitcoind is still up before work cache is used to propagate failure to miners faster