mproxy detect network disconnection.