unsubscribe when http request closed