disconnect from server also throws