Coach Walid Regragui is nearing the Qatar national team job amid advanced negotiations and the impending departure of Julen Lopetegui.