What is the main responsibility of a transaction coordinator during the transaction management process?