Missing drainBuffer()