making async_worker more resilient to errors
add logs too