Fix TestTransporterListenDontPanicWSClosed race condition
Related tasks
Context
A race condition occurred on the TestTransporterListenDontPanicWSClosed when overwriting the err
variable.
Change
This MR redeclares the err
variable to avoid the race condition
Edited by Marcos Huck