saves documents to redis every 20 versions
broadcasts errors to sender only