Recover connection to pg server in case of communication failure. We will lose one query/autchentication.