pyexec fork sync fixes