Use correct call to get connection status

The commented code was breaking - there is no `status`.
Merge pull request #78 from spajus/patch-1

Use correct call to get connection status