Ronnie O'Sullivan suffered a frustrating 5-2 defeat to Michael Holt at the Shanghai Masters, and almost broke his cue after an easy miss.