shutdown for packet writer and reader
123