fix potential deadlock in master client