only one dynamic reconfigure callback and some cleanup