Nigel Farage has said he is 'considering' taking legal action to force mayoral elections to be held.