`world_group` should be free'd using `MPI_Group_free`, [too](https://www.tu-chemnitz.de/informatik/RA/projects/mpihelp/comm_group.html).