MySQL transaction isolation level decorator

This might be easier to read if you subclass `Thread` and override the `run` method.