starting transaction in non-autocommit mode if transaction is not started