Fixed sys_close regarding duplicate vfs_close calls