Stop scan when connected