Feature: register shutdown hook for management context