sending data for writing completed, error not handled