Unify indentation.
Add dlclose in error handling of dlsym.