Stabilizes tests by stopping mock service after tests