kalua: watch: coredump() cleanup