In case of write errors the write queue will not be drained. In that case callbacks should not be called.