release_license function

Release any IAI license held by the current session.