shutdown a bit more gracefully when remote end hangs up