Reset srv code to initial state