Error handling in Delays