Make client working properly, except when server is down, a ton of 'new message:' appears. Server is not responding at the moment, debug needed