thread mpiConnection working