close socket when errors are encountered.  The error handling in this was really broken...
close socket when errors are encountered.  The error handling in this was really broken...

samboiki/smap-data,samboiki/smap-data,samboiki/smap-data,samboiki/smap-data,samboiki/smap-data