MULE-6800: Thread leak on Mule redeployments for embedded

_ Updating test to use expected exception attribute