Resuming Failed 3D Prints Automatically