Changed thread handling of Drools executor to prevent deadlock.