add deployment scan retry logic