Make <%include%> asyncio-friendly