Terminate server after launch