The problem might be with creation of temp tables and the allocated size of temp db. Since you are not dropping the temp tables manually at the end of trigger, they might still hold space on tempdb. If there is no space on tempdb for creating more tables for insert on each row(remember SQL server supports only row level triggers), then the server waits for tempdb space to be freed unless you have specified infinite data file.
Add the following at the end of the
drop table #TempTempSkuTransaction;
Also check if you can de-allocate TempTable.