set keepalive for channels