Fixed server state checker