Solve memory leak coming from imageio_utfgrid