Some cosmetic changes
Merge pull request #1 from krjackvinator/master

Fixed bug with pending connection