Fix missing ALooper in polling thread