Rewind hooks array before cleanup loop