[client] fixed a problem in heartbeat monitor