connectTimeout

Specifies a time period (in milliseconds) in which a client should establish a connection with a server.

A 0 value represents an infinite timeout, while -1 represents a system's default value.