it seems the signature is incorrect as the `function timeout` definition has the `debounce` argument in the 4th position.