fn attach_timeout( output: Output, timeout: Duration, timeout_recorder: Option<SlowQueryRecorder>, ) -> Result<Output>