remove more warnings
Clear any pending write data on disconnect