st-hal: Restart ST Session during buffering for erroneous scenarios

In erroneous scenarios when buffering is stopped internally
before successfully processing the detection and sending it
to client, recover to next detection by restarting the session.

Change-Id: Ia28eb5b070870f2c9f11169c1534099bbed0a2bf
1 file changed