Finalize jacobi solver.