Force session close on failure