The reason is that a special feature to finish pending requests was implemented for the Electron only (for some obscure reason )
If your code in deed is freezing (RGB LED stops breathing) then it's most likely a deadlock between your code and the system demanding access to a shared hardware resource (e.g. radio, serial, ...)
1 Like