[sync] mark event pipe fd as cloexec after a fork (analyzed by Sami Farin).