Shutdown socket before closing it.
Shutdown socket before closing it.

As stated in socket module, the close() method releases the resource associated with the
connection but does not necessarily close the connection. Thus, this commit introduces a call to
the 'shutdown()' method before closing the socket.

duydb2/thriftpy,duydb2/thriftpy,misakwa/thriftpy,spladug/thriftpy,OctavianLee/thriftpy,keitheis/thriftpy,duydb2/thriftpy,spladug/thriftpy,keitheis/thriftpy,adsharma/flattools,mariusvniekerk/thriftpy,eleme/thriftpy,adsharma/flattools,importcjj/thriftpy,mariusvniekerk/thriftpy,misakwa/thriftpy,OctavianLee/thriftpy,importcjj/thriftpy,misakwa/thriftpy,OctavianLee/thriftpy,dan-blanchard/thriftpy,mariusvniekerk/thriftpy,dan-blanchard/thriftpy,adsharma/flattools,eleme/thriftpy,halfcrazy/thriftpy,halfcrazy/thriftpy