Renewing IP lease and better exiting functionality