Changed executeNext; added comment about timeout