PURPOSE: This phase I trial is studying the side effects and best dose of fludarabine when given together with 3-AP in treating patients with relapsed or refractory acute leukemia, chronic leukemia, or high-risk myelodysplastic syndrome.