WICKET-5439 backported from 7.x, but still update the hosting component
on restart as before; WICKET-5464 don't stop onRemove, just clear the
timer