[f21/master 1/2] Wrap interruptible system calls in a loop (#1160041)