Add explicit timeout for travis_wait