[conway] Added running main loop in another thread