Not calling sync when closing tcp connection and ping messages not
affection time between pings.