Improve stream clean up in MediaSession.close