Use threading for owari ai implementations