Unregistered for write event if nothing remaining to be written