Fixes NRE in Manager.Close.