updated deadlock to use kill -0