Added workaround for @#$%^ RPCminer.