fixed removed finalizeLoop from commit https://github.com/mapbox/mapbox-android-sdk/commit/2050dacccbdec0519a8e3880637724ecfe2f57f9