fix infinite task queue in heloworld example