Handle release events