Add param to session close method.