added lines to kill binaries/backfill/import if MAX_ROWS is exceeded, instead of letting it finish its current loop