tests/unix_sockets: Merge latest changes

- Hopefully finally fix the socket thread staying alive too long
- Switch resource listing to a string, and keep the ResourceSet
  internal.