Homematic: Synchronization of callback handler creation and removal.