Avoid infinate work restart loop.