message: fix issue on linux
diff: @@ -76,7 +76,6 @@ int MuseBGLibHelper::stop_stream ()
  {
  should_stop_stream = true;
  read_characteristic_thread.join ();
  - }
  int res = (int)BrainFlowExitCodes::STATUS_OK;
  // for sanity check
  for (int i = 0; i < 5; i++)
  @@ -86,6 +85,11 @@ int MuseBGLibHelper::stop_stream ()
  }
  return res;
  }
  + else
  + {
  + return (int)BrainFlowExitCodes::STREAM_THREAD_IS_NOT_RUNNING;
  + }
  +}
  int MuseBGLibHelper::start_stream ()
  {
  @@ -94,6 +98,10 @@ int MuseBGLibHelper::start_stream ()
  {
  return (int)BrainFlowExitCodes::BOARD_NOT_CREATED_ERROR;
  }
  + if (should_stop_stream == false)
  + {
  + return (int)BrainFlowExitCodes::STREAM_ALREADY_RUN_ERROR;
  + }
  uint8 configuration[] = {0x01, 0x00};
  for (uint16 ccid : ccids)
  {
  