The thread has to be started first. Then you make the poll.