fixes to tcp_helper timeout handling