cleanup temp file
remove session from being included in the transaction
change some of the delete locking and add timeout exception
add timesource interface for testing
add config