Syntax fix and fix for dying if a server is unavailable.