Handled socket exception
Merge branch 'master' of https://github.com/tcstewar/nstbot