Blocking queue in Objective-C