Fix a bug causing duplicate tpc_begin exceptions (OMS-349)