fix ubuntu can\'t kill server issue