kill server after use