wait for ceci-app if it's not available immediately

fixes #2033, but still bisecting to find out *when* it started going wrong