Take advantage of Thread.pass to make sure UI thread is not starved due to compute-intensive threads