Race condition between reasoner thread and communication fixed.