fixed deadlock

fixed deadlock with one of the ManualResetEvents in UDPClientService