Added condition when to expired contracts. Using a delay method