How do I deal with incomplete transactions?