def _drop_server(self, server, message):
try:<EOL><INDENT>self._active_servers.remove(server)<EOL><DEDENT>except ValueError:<EOL><INDENT>pass<EOL><DEDENT>else:<EOL><INDENT>heapq.heappush(self._inactive_servers, (time(), server, message))<EOL>logger.warning("<STR_LIT>", server)<EOL><DEDENT>if not self._active_servers:<EOL><INDENT>raise ConnectionError(<EOL>("<STR_LIT>"<EOL>"<STR_LIT>") % message)<EOL><DEDENT>
Drop server from active list and adds it to the inactive ones.