systemd-python: fix wait bug