Add a connectTimeout configuration parameter.
Add timeout on awaitUninterruptibly method reusing the timeout attribute. Also rename the connectTimeout attribute to timeout for consistency and increment default to 10 seconds instead of just 1.