Registry run server in thread