remove whitespace
only connect to server2 when appending to server1 is complete