Make it possible to specify the timeoutInterval for an operation.

This is important for long-poll operations, where we expect the call
to take more than 30 seconds as a matter of course.