add __all__
check agent/self as well, before treating the consul instance as ready