Code

client: Try to reconnect after read/write failures.