A consistent, fault tolerant CouchDB _changes listener with pre-fetch support