First try at connecting the two threads.