Fixed for <= 4.0.4 android devices. Apparently runOnUiThread doesn't... you know, run on a different thread so the .wait() happens indefinitely