migration: fix detached migration with fd