this makes it impossible to use several mongo handlers at the same time as the second one would replace the mongo client.