Handle closing streams with missing .destroy() method