Adds polling support in ContextBuilderConfigurator.