[cdap-597] promise improvements