Undo connection close due to fix of #5145 in node core