Tear down session when app is in background, set up again with app enters foreground.