A simple polling application.