Nice, that's exactly the approach I would have suggested for delaying the dlclose() :-)