Added SafeToDisconnect subscription with callback