Finish onComplete and onFail on Android.