getCaptureSurfaceTexture -> blockAndGetCaptureSurfaceTexture, removed sleep, waits for thread to finish configuration.