Manager close session function

Change-Id: Id28ea331ad56664b8a68648bfba41ed6ac8b56d2
Signed-off-by: TanelDettenborn <tanel.dettenborn@gmail.com>