Issue #2373287 by estha: Add timeout to visitor context promises.

This tests that the timeout promise works fine when it doesn't time out, right?