Merge "Revert "Revert "Revert "(dl)Close native libraries on unload""""