memory improved with setting soup to None after use