send connection keepalive packets each 1000ms (was 500ms) to decrease traffic