Implemented heartbeat call back. Need to do heartbeat timer.