kill proc when parent ends