socket: Move accept queues flush into sofree()