Mobile device can't maintain connection after an exception

Hi,

We are having some issues with the “Mobile Device Connection” activity, as when we try to use this activity after an exception occurs, it is not possible to maintain the connection to the device.

Current scenario:

We have a test with 3 steps, all of which are within the “Mobile Device Connection” activity. Each step is an invocation of a workflow because each step can be reusable.

Within each step, there is again a “Mobile Device Connection” where the same connection indicated previously is used.

During this step, an error occurs when finding a selector.

This error is caught in a try-catch block, and inside the catch block, we again have the same connection to take a screenshot of the device.

However, every time an exception occurs, this last connection inside the catch block is not possible, and the screenshot is not taken.

Can you help validate this behavior?