Add event loop implementation to the 1st thread.