Finish the ProorityQueue