We recently upgraded a few of our servers to postgres 13 and the ones that have this version have begun hanging or restarting .