Fixed to close session emitters.