Calulate SQL connection open timeout based on the number of failed attempts

Correct Target instance creation to use Already created instances in the mem cache instead of a copied instance
Correct Target status signalling
Correct Target and TargetRequest handling when things go wrong.