Refactor server instance.
Log handler errors.