IR service refactoring, IR collector can close itself after collecteing some data