free upstream which has been deleted and finished all request