Improve StreamProgressMonitor performance