Somalia has asked the United Nations to end its political mission in the country when the mission's mandate ends in October.