switch to logger.warning for connection problems