Bugfix: MD5-worker threads would sometimes exit when they shouldn't