ADDED: close_any/2 for closing streams with metadata returned.