make sure consecutive calls of #when_dom_changed do not exit on timeout
from previous call