master close socket on harbor error