Don't use deprecated dispatch_get_current_queue()
Don't use dispatch_release() under ARC in OS X 10.8 or iOS 6.0 and later