Speed Up Mongo Build When No Mongo

@Rule used a 10 second connection timeout.
Np. I have those changes locally.
My concern for backport is up to our CI plans, when we really don't want to wait so much time for current commit.
So, merging and backporting