Work around race condition when shutting down a surface flinger surface.

Works around b/4588890

Change-Id: Ie0cf1f212686aec93cda85bf112f4b7ab4197256
1 file changed