added connection and validation timeouts