Merge changes from topic "lshal_stuck"

* changes:
  lshal: Allow read to timeout in debug()
  Revert "lshal: close fd before joining thread"