Fixes a thread leak.

git-svn-id: http://svn.code.sf.net/p/fmj/code/fmj@69 799b4810-d841-4bb4-a54b-9156a0c3e4cd