Fixed crash on exit from SensorNetView