If you change it to echo, how are you supposed to notice the result to people, as Jenny asked? Echoing is only for the client that runs the code to see.
The easiest way to do is just add the timers in each line output.
Another way is to write the result to a text file and then play it with the -n switch.
This script can further be improved without the use of sockclose event, as I've been told that's a lazy habit in socket scripting. And it saves unnecessary line reads.