Thousands of residents fled the city of Homs, desperate amid the rebels' advance towards Damascus sparked panic.