server now restarts after an unhandled exception, to avoid continuing in an error state