Avoid event loop.