Cancellation was not working