Restore cleanup after backup.

It seems we really need the wait_for_job_termination() call on
closing a failing backup job as otherwise some other subtile
problems occur. So we now handle the protocol mismatch somewhat
differently e.g. we only close the FD connection which will result
in the backup failing just as if a connection could not be made.