Could test result here instead of after `dispatch_semaphore_wait`.