UIMA-3964 fixed listener not stopping its executor leading to a hang

git-svn-id: https://svn.apache.org/repos/asf/uima/uima-as/trunk@1616497 13f79535-47bb-0310-9956-ffa450edef68