timeout control for tests