Modify incorrect forking process and killing