Add the heartbeat to the longpolling.