close mongomock connections
fix test