more robust next-tick handling

using timoxley/next-tick as universal next-tick