Exception handling retry logging sync vs ASYNC