Also consider loops for receiveTasks