Currently the validate function will always sleep, even if the validation was succesfull. Sleeping is only needed when we need to retry.