Check the existence of net before clearing router interface