ensure server closes properly in CRUDCollection test.