It was the second failed launch in three months, but Pyongyang has vowed to try a third time in October.