Maybe you want to free the `mThreadParams.adiosComm` here?