Fix syncing after send-copy-done receives an error response

Deal with the fact that sending a COPY as a simple query causes an implicit
sync to happen after the copying.

Issue #39