stop recorder check file length