Added todo.
Made the timeouts stop.
Changed timeout back from zero, as no timeout breaks the script.
Show time of each connection transition.
Exit cleanly when Ctrl-C halts the script.