Let's hide that in the InternalRenderTask and call reject and resolve there