Only give TCP a longer timeout after connection

Fixes #3.