closing collection top components when closing the associated mongo connection