Fix NullPointerException on Promise timeout

I ran into this when there's a failure to dereference the promise in the amount of time requested.