Starting transaction if it was not started earlier