add delay to retry