Added delay method to get heartbeat delay from client.