kalua: watch: coredump() fix loop