Timeout connections and send TCP keepalives