Removed setRunning()
running should only be set by the main class. If other methods want to shut the server down they should call the shutdown() method instead.