Added destroy method for isolate