Improve timeout system in live view

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Reset live stream thread when URL changes

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Merge pull request #165 from vogel/fix-164

Fix 164