Expose a way to get the timeout given to connect or custom.