Make COPY commands leave the connection in a usable state if the block
pushing data exceptions either in Ruby land or in the backend.
Handle Ruby side errors when copying from STDIN in the normal flow.