increase mongodb socket timeout and make it configurable