Stop the connection heartbeat after the JS test has completed

- Leaving the heartbeat active caused an FFConnectFacts test to fail since
  verifyLastActive was unexpectedly getting invoked by the heartbeat