Add heartbeat_interval to pika connection.