ObjectInputStream closing at message store