OFThread: Run the run loop if there is no main.