Changed the sleeping to happen regardless of errors to give some time to
recover from those errors