Fix bootcache incorrect failure on socket cancel