Previously the socket would be created in the thread, which take some time to start. As the tests were so short they would usually pass as they don't actually use the socket. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9364>