Adding timeout

I found it useful to be able to associate a timeout action with a spinner.