Closes currently opened session.
true if the session was closed successfully; otherwise, the function returns false.
The function is thread-safe.
File: daiModule.h