qed: Fix SPQ entries not returned to pool in error flows