kill client if cmd too long
close client when no more read_buffer after do_read