utils/pipeline: add a timeout to reset w_aiting_for_async_done.

If we didn't get ASYNC_DONE after one second.