kill process on socket EOD