more efficient connectivity test
Merge pull request #360 from sjsrey/components

more efficient connectivity test