added support for AutoReconnect to MongoObserver and have it write resuts to tmpfile if it fails