ProgressInputStream onFinish bug fixed