fixing handling of ConcurrencyException in async hilo generation

This fixes an incorrect port from the non-async implementation; the ConcurrencyException and ConflictException handling wasn’t properly task-ified.