Create functions to force the session dispose on the stateless kb

Signed-off-by: Renato Mendes <renato.mendes.1123@gmail.com>