client: write only after connect