Possible fix for Issue #341, though it might be to harsh. That's for you to decide.
Seems to resolve leaving sockets in CLOSE_WAIT.
Unittests and integration test run succesfully.
call kill() to close socket after slim "bye"
Thanks, Sockets were not closed. This fix enforces everything to be terminated at the end of an test execution.