Modified AIEventMachine to parallel with the StatefuleChatEventMachine