haltServer with exit code 2 by default