Make the fix for the hanging Linux thread public

This is needed for WeSay.App which has an architecture that results
in the Application.ApplicationExit event firing before it tries to
save its data (ie, before the application actually exits).