first this will help to fix races in the inspecting code, then this will help to test code that intercepts `dlopen` once it is done