fix: check if the socket is getting opened
Merge pull request #2 from Avinash-Bhat/master

fix: check if the socket is getting opened