how do I restart a server form within the code ?