There is a chance of this not being executed if the above ``socket.close()`` throws an IOException.