Fix NullPointerException on Promise timeout
Merge pull request #41 from eric/fix-deref-exception

Fix NullPointerException on Promise timeout