Test: Interrupt the thread at the end of the test

This test was passing on first run, then failing on every run thereafter with a "Connection refused" error on my machine (IntelliJ on Ubuntu).

The hope is that no lingering sockets are left by interrupting the thread.

Got the idea to interrupt [via StackOverflow](http://stackoverflow.com/a/671053/1265245).