Detect when we are near the 15 MB memory limit
We must be able to detect and terminate network flows before we reach the 15 MB memory limit. Right now, I am using a patch that sort of detects it and emits an alert in the application. It's flaky, so we should try to stabilize it.