The governing authorities of municipalities shall have the power to close and vacate any street or alley, or any portion thereof. No street or alley or any portion thereof shall be closed or vacated, however, except upon due compensation being first made to the abutting landowners upon such street or alley for all damages sustained thereby.