created event loop thread