Checks for connectivity before executing search
Merge pull request #360 from iameric1986/master

Checks for connectivity before executing search