set keepalive to send pings to irc server