This is a thread to test poll functionality