add script to stop k server

@yilongli please review