gengar-sync.py: new option -w for wait