Set max waiting time to 10 minutes.

It's unlikely that someone wants the bot to wait longer than 10 minutes.
And a maximum is also necessary to avoid possible OverflowErrors.