fix curator shutdown problem in curator inv manager test