Changed handling of pq.pod_waiting