avoid NPE in case session was already properly destroyed on some containers