Fix 'new message' spam screen bug after server is shutdown in client.c. server.c issue remain unresolved