Ensure TerminalSupport doesn't cause classloader leaks

Fixes #101