fixed pending requests to be able to cancel requests