It should be big enough value (about 5 minute) for detecting dead servers. Timeout should be applied to every operation: connection establishment and reading a bunch of data.