A dying robotic insect