Remove socket permissions test stup

At least until we can figure out how to shut down the socket server, so
that it doesn't crash other tests.
Remove eroneous close methods