Filterchain & Filter: Add destroy when filterchain is close. Improve example on template testcpp1.cpp