Always check pg_async_status before calling pg_cancel