runtime: Process graph/network in background instead of blocking

Refs #4