Added fault tolerance to django beanstalk worker