cleanup component message handler registration