[Udpcast] Solving deadlock