World number five Mohamed El Shorbagy progressed to the semi-finals of squash's Canary Wharf Classic after an epic five-game contest on Wednesday.