Mongo client bugfix: possible worker crash