Removed duplicate sql file. Closing socket on remove
Merge closing transport