better error message when server gives no response