there is a lot of debate around this.
Some people say it is okay to do so and some have actually done it. Some say if you leave before you get AP, you abandoned your application.
I have the same dilemma and my lawyer says there is no problem.
So I just trust my lawyer and do it.