CRM-14950 don't complete transaction if already completed