More flexible handling of thread safe or not (e.g. if pthread not available).
C_Initialize, C_CloseAllSessions and C_Finalize need not an are not thread safe.