Fix and examplify async mode.