BS-10495: dump Thread stack in case of failure in order to understand
why the action takes so many time
Dump thread stack when the UI is not ready