If a shutdownable stream is not writable, don't call uv_close on it.