fixed getwork failing if miners idle long enough to let local hash rate fall to 0