Stop infinite recursion on hub.close()