Keeping a Postgres Queue Healthy