Changed barrier_sync’s to barrier_async’s
Fixed error handling