don't wipe out writeBuffer immediately; wait until 'drain'