Add debug message on server close