Fixed some issues about Timeout exception

Hi Ian!

I´ve fixed some issues about Timeout exception from Gevent, It works for me, I hope it can be useful to fix it on the main repository. Thanks so much!