target/target.c: adding keep_alive() to while loop.