Speed Up Mongo Build When No Mongo

@Rule used a 10 second connection timeout.
I was just happy to see it drop from over 15 mins to 1 min when mongo wasn't running!! I am ok with your suggested changes; would you mind fixing on merge?

I am not sure backport is needed because most people doing builds will do so from master but, it's ok if you want to.