VID-867 closing the WMU when an error occurs
Merge pull request #1682 from Wikia/VID-867-close-wmu

VID-867 closing the WMU when an error occurs