make the context pool a member of Session, pass it your dom helper, and registerDisposable it