Fixed server startup check