Work around incomatibility in SGMiner 4.0 with the CGMiner RPC API
Merge branch 'bug/sgminer-rpc-api-error'