Fix #4 default auto_write is false