add timer and tcp shutdown app