Allow timeout to be configured
add timeout options to tcp client
timeout on connection attempt