test.js - source of test
test-output.log - output of test run in my env
In general we need to detect if we lost access to mono db. As you can see, maybe we can use 'timeout ' event. But now timeout event emited not every time, in our stage env mongo client never emits timeout event on highs query rate.