A TCP socket doesn't have a `terminate` method. Use destroy instead. Fixes #181