stopped timers before terminating sockets