Actually lastrowid should be closed