code: func (handle *ContextHandle) disposePKCS11Ctx() {
  	//ignore error on close all sessions
  	err := handle.ctx.CloseAllSessions(handle.slot)
  	if err != nil {
  		logger.Warnf("Unable to close session", err)
  	}
  
  	//clear cache
  	cachebridge.ClearAllSession()
  
  	//Initialize context
  	err = handle.ctx.Finalize()
  	if err != nil {
  		logger.Warnf("unable to finalize pkcs11 ctx for [%s, %s] : %s", handle.lib, handle.label, err)
  	}
  
  	//Destroy context
  	handle.ctx.Destroy()
  }
docs: //disposePKCS11Ctx disposes mPkcs11.Ctx object