Timeout TCP open() after 5 seconds.