Use leaky buffer to when piping data.