bug fix beanstalker handle_error