don't close dependent memory streams