Change linux stop method