Bump the timeouts in the dispatch_test
The client connection timeout was set to just one second, which might not be enough on busy systems (and the CI machines are oh-boy-busy). Bump the server timeouts to 10 seconds and client timeouts to 5 seconds, this will make the unit test run a little bit longer, but it should be more reliable.
Closes #4392 (closed)