Add max connections, timeout and retry interval options