Phase II trial to study the effectiveness of 506U78 in treating patients who have recurrent or refractory non-Hodgkin's lymphoma or T-cell lymphoma. Drugs used in chemotherapy use different ways to stop cancer cells from dividing so they stop growing or die