Add timeout in GraphicsMagickProcessor