python external plugin skeleton: make sure rsyslog can read stdout timely