Handle psql non-zero exitstatus as postgresql down