Fixed server not stopping after a fatal error