updated timeout and read pref for mongo driver