agent: Make sure we have default value for timeout.