Connect and disconnect on notification received