clean up server module