Fix "undefined: ErrTimeout" error

Small fix for benchmark tool. It became broken after previous commit.