src/rrdd.c: Let the connection thread add itself to the list of threads.