The next loop does a poll on callbacks.