Make GetFilesJSON return after sending on channel