better error handling when the server fails to start, issue #24