handle yielding in main fiber