Use TryRecv instead of Recv to prevent interpreter deadlock.