Add shutdown signaling to unix socket, removing quit delay in tdtool

Not sure if something else depends on the sockets returning final data, while shutting down?