fix close of router app session
adjust to enable running under CB