socket: log queue counts after shutdowns