'Time is of the essence', UN leader says after NK visit