session f. keepalive, sigint handling