fix the shutdown
check if another process was crashed