change condition detecting that pg is stopped