Increase Tern timeout to 30s.

See #8646.

cc @redmunds