Use a ReferenceQueue to cancel gc'ed requests.