Fixed quit sequence.

Change-Id: I4f7211d8dcb75ab3b6d7c731574ab4cec9611444