Litte timeout feature added.

It's a tiny change, but it's been super-handy in my app. :)