Updating threading logic in mdproxy
removed old code not needed in mdproxy that would not work in multinode