Store result asynchronously and return the exception on error.