fix potential rendez deadlock