'server has a main loop'