session timeout logic has been added.
don't send too quickly
log to record the tcp state diagram transforms.
god bless me.
still failed to work.
forget updating last_recorded_snd_time.
though works very slowly, it works now.