Using trollius instead of polling loop