destroy socket on error & bump to 0.1.7