add testcase for connection timeouts

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>