Hi Jörg,
since Analysis Office 2.1 it is possible to log off via Analysis Office API. The parameter is
PublicSubLogoff()
Call Application.Run("SAPLogoff",Parameter)
EndSub
More information can you find here: http://www.reyemsaibot.com/2016/04/05/analysis-office-logoff/