When clone() fails, child_pid is -1. Avoid killing -1.