Replaced kill() with KILL_SIGNAL.