async function fixed

real async api should delegate error handling. not leaking them outside scope or silently outputs into console.