SHDP-423 Fix rollover and concurrency issues

- Previous tweak didn't work very well with writer
  using a rollover. Additionally there was concurrency
  issues with threading.
- Adding more fixes and syncs.
- Adding threading smoke tests which for now are
  disabled from a normal build cycle but can be
  run manually.