XX-11390: Mongo query timeouts should be configurable

-add mongo write timeout
-fix precommit