Fixing indentation
Call error block on retries