modify AFNetworking block to handle cancel error