Add API to prevent Fiber switch in select contexts Co-authored-by: Martin Schröder <m.schroeder2007@gmail.com>