fix reference count drops to zero and no other loaded libraries use symbols in it, then the dynamic library is unloaded.