Rolling back using thread prepend