updated kill to show exitcode