update stopping and status to remove pid files