lock parse lock for a short moment when destroying language support
should fix crash on shutdown. by courtesy of kfunk :) BUG:359263