wasn't using the timeoutSecs variable