Avoid reentrancy on the "installing" state.