add warning: the function given to establish_server should never terminate