check for request being cancelled