Alternative to in-main-thread that exits immediately if the main thread is already busy with something else.