fix for monitor thread shutdown mutex usage
android startup order fixed