beanstalk-client timeout handling, memory free fixes