clear the session of hibernate