Close multiproc pool and add diagnostics to calc_scatter