Calling `consumeSource()` directly instead of `runLoop()` is probably better. Right now, a connection is leaked due to openFoo being called twice.