logshipper: increase buffer/batch size, fix potential client race, add sendbuffer draining (#2753)