Added kill at end of child.Need sigaction handler