added dynamic timeout time based on rtt between hosts