Run dispose in Gdx thread