Use go-loop for main-loop instead of act-loop.