queue/beanstalk: wait 5 seconds before dialing to beanstalk on failures

Fix #538.