Trap Async DNS Resolution errors and throw an exception

Added some handlers to throw exceptions during Async DNS Resolution.
Oops, just noticed that this docblock is incorrect, I'll fix it and amend the PR