Add heartbeat to pika connection.