Ask the view to wind down before it is removed (ui/resource-teardown) and wait up to timeoutMs for its answer. Returns whether it answered.
ui/resource-teardown