added mutex release in send_master_to_node