runtime: Fix compile error in Network::deliverMessages