Exception added to disconnect