Send keepalive messages for inactive connections