Fix misuse of fork
in sandbox causing crashes
#18183
Merged
fork
in sandbox causing crashes
#18183