add closing notify