Implemented mob-exit for pigs