Early recognition of failures