roll back tern submodule to avoid hang