put BatchManager in thread scope