Thanks for the timeout options. Unfortunately, it does not work when using a router. This small modification does the trick. Is it correct?
related to #372
take into account user options when using a router
The build failed on Travis. I will consider merging this when the tests pass.
On second examination: this is the wrong approach. These are not the options you're looking for.