handle when process not alive