fixed so it prints that its polling after sleep not before