Add showing log only when process termination is failed