Added connectivity testing infront before starting the streaming job
Added connectivity testing infront before starting the streaming job

ruchika05/demo,ruchika05/demo,ibm-watson-iot/predictive-analytics-samples,ibm-watson-iot/predictive-analytics-samples