New handler created for each session instance. Otherwise, it gives a "dead handler" exception.

When the streaming service start for the first time, it work properly. The second time it starts giving a dead handler exception and doesn't work anymore. 

I started creating the handler every time a create a new session. It solved the problem.