Adds then methid to the RenderTask

Resolves #4428. We cannot inherit from Promise just yes, but we can add the `then` method to the RenderTask