Handling pkill exit status