Use res.end data if buffer is empty