API Usage to import calc Private:stream remains open

I am trying to use LibreOffice APIs to import and export an ods/xls. Every import request uses a connection with a running instance using ./soffice “–accept=socket,host=@$%^”. Everytime after the import this stream remains open. number of open private:stream - LibreOffice calc keeps increasing with every import request {ScreenShot attched} . I have been using the openoffice for the same purpose and it doesn’t show the stream like LibreOfice.

Is there a some issue with version 4.2?
Am I doing anything wrong?
Is this how it’s supposed to be?

image description