A bomb blast in Pakistan 's northwestern city of Peshawar has wounded eight people just hours after the U.S. consulate was temporarily closed after receiving a threat .