Fix heart-beating test cases for Apollo broker.

Apollo does not kill the connection but rather send an ERROR frame when
the client no longer sends heart-beats.