added auto newrelic_transaction_end if transaction was started