network request cancelling fix