added support for connecting to mongo once and pass to parse_rust() calls