unload the IMCs and IMVs using dlclose()