glutSwapBuffer waits for loadLibrary

i would like to load a DLL while my application is running. The loading process takes about 2-3 seconds. This has the consequence that the application freezes which i do not want. I tried loading the DLL in a separate thread but the application still freezes. Then i started my glut-callbacks also in an additional thread but the application still freezes!! I found out that glut is the problem respectively glutSwapBuffer. glutSwapBuffer is always waiting for loadLibrary no matter how many threads i have. All my other non-opengl threads are running fine while loadLibrary.
Is there anything i can do??