correct initialize and cleanup mpi communicator