added network deletion on exception