Remove race-condition in PP-queue exit that prevented shutdown.