Initial fix for defered resolving.
Fix release.
Proper fix for executing callbacks list.
[#1535] Fix resolving chained deferreds.