Bug fix remote connection multithread issues between sending and receiving request for metrics.