Director of WTO confirms resignation before completing term..