Added state property, if state property is BUILDING the machine will not deleted