Make disabling plugins the last thing we do.