Write Transaction: close all open dataset