Unexpected behavior from leave_children_open option