Server can be null. 9 lines earlier, if an exception is caught, server is set to null.