kdb: break out of kdb_ll() when command is terminated