Fix condition for when to use dispatch_release and dispatch_retain