// to back up on this end of the connection.
SlowFeedConnection slowFeedConnection = new SlowFeedConnection();
DocPusher dpusher =
new DocPusher(slowFeedConnection, dataSource, limit, dfc);
int count;
PusherStatus status = PusherStatus.OK;
for (count = 0; count < 30; count++) {
status = dpusher.take(document, null);
if (status != PusherStatus.OK)
break;
}