Post notifications when connecting and disconnecting.