In order to prevent races, you must copy the host jobs slice before returning it.