fix rollback() or close() in connection.__exit__(). only close()
fetch plain text (revert) in python2