* close sockets on error, and abort execution