Adds then method to the RenderTask
Merge pull request #4599 from yurydelendik/issue4428

Adds then method to the RenderTask