more robust server communication