Fix: check data length to clear timer for streaming