Issue #19296 Throw an error if the pgWorker dies.