cancel requests on detach