Fixed issue with canceling the request