Cant log after shutdown signal for jni reasons.