fixed bug when connecting to two and more meter on the same host and port