Changed per-request MongoDB connections to a single one.