Ensure ping timeout does not attempt to close same WS twice