work around extremely slow setTimeout in node