fix migrating a fiber between threads