Throw TransactionTimedOutException in case of a transaction processing time out

Related to #3830, details are there.
Opps..i added it but somehow it is not here now. Update is coming.