MULE-7417: Log4j config watch dog thread is not being stopped when undeploying applications
(cherry picked from commit ebfc536)