Providing an api for disableTimeouts() in tests.