Changed the client to make it call the AI. But the AI hangs when called.