switching to async mode