Chunk server: fix write append commit ack logic by ensuring that the state remains open after lease validation and before attempting to send commit ack.