Fix to work with https://github.com/kr/beanstalk/commit/d557d83