Fix streaming bug: Stop streaming after 2000 records