pal: update active client session list properly

Pal server wrapper maintains the list for active clients, however
even after calling pal_stream_close, active session list was not
updated and meanwhile if client dies then pal_stream_stop/
pal_stream_close are called again, leading to crash during
pal_stream_stop as underying streams were already deleted.
Instead of updating local instace of active session update in
the actual list.

Change-Id: Iccd6b6c7dbaf6b67634447d96f7896da3dcaf16c
2 files changed