Dispose transaction before dispose connection.