Added new demo to check connectivity state