I finally resolved this issue
This was occurring for me. It took several trips to the dealer.
Ultimately they had to replace my VANOS solenoid. Since that was replaced I've not had the problem again. Fortunately, the car was still under warranty. I don't want to know what it would have cost otherwise.