tests/unix_sockets: Add support for resource set destruction