adding more error messages on network disconnection