Ugly, but fixes a crawler threading bug.