Try to prevent jsdom memory leaks