Add timeout handling (unfinished)
Add TestSetConnectionTimeout