change interval by timeout