MP1-4554: Now handling server closing event.