qa: ensure files opened are closed in multithread test (coverity)
qa: ensure files opened are closed in multithread test (coverity)

adfernandes/pcp,adfernandes/pcp,adfernandes/pcp,adfernandes/pcp,adfernandes/pcp,adfernandes/pcp,adfernandes/pcp,adfernandes/pcp