fix interrupted syscalls in mac executor