fix "Generator is already running" errors when no callback provided