fix cyclic dependency on robot <=> server. Maybe needs review later.