House fails to elect a speaker for the third time