Implement https://github.com/chrisboulton/php-resque/pull/195