[feature] Add close event demo.