fix beanstalk client