Release on main thread so AWT doesn't explode.