On windows, the is_writable attribute is removed by the call to uv_shutdown, but we don't want to jump to calling uv_close via the else clause if the shutdown call is repeated