When an auto reversal occurs the invoice will be cancelled. This only applies to PHI transactions.
In the case of a transaction time out. The SDK will show the user an error and they will be kicked out of the session. The user can then accordingly depending on what error they receive.
Please not that transaction orders are never guaranteed - you should plan transaction updates accordingly using attributes like transaction modification dateTime.