add infinite processing and publishing loops