Use `atexit` to automatically unload/free module handles
Use `atexit` to register an automatic handler for unloading/freeing the module handle.

Only relevant for internal loader.

See: http://www.cplusplus.com/reference/cstdlib/atexit/