Can you add some documentation to this method. It's not clear when this method returns an error. if the last server failed then an error is returned, otherwise if the last server proxy write succeed it will override `err` and set it to nil.