issue-155: Removed unnecessary connection checking.
Merge pull request #169 from KamilKalfas/issue-155

issue-155: Removed unnecessary connection checking.