Check if the connection is available.
Merge pull request #6 from imos/experimental

Check if the connection is available.