Support reentrant queries in chaining metadata provider.