MULE-8129: Fixing NPE when a config is present but not a listener.

this 1000 timeout is used all over the class. extract to constant