change timeout for tcp
support timing tests for tcp